package com.example.dbpage.bean;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;

/**
 * Created by zf on 2018/7/18.
 */

@Entity(tableName = "test")
public class Test {

    @PrimaryKey
    @NonNull
    String text;


    @NonNull
    String code;


    @NonNull
    public String getText() {
        return text;
    }

    public void setText(@NonNull String text) {
        this.text = text;
    }

    @NonNull
    public String getCode() {
        return code;
    }

    public void setCode(@NonNull String code) {
        this.code = code;
    }
}
